package com.gyf.algorithm.struc.list.lettcode;

/**
 * https://leetcode-cn.com/problems/shan-chu-lian-biao-de-jie-dian-lcof/
 */

public class DeleteNode {

    public ListNode deleteNode(ListNode head, int val) {
        head.val = head.next.val;
        head.next = head.next.next;
        return null;
    }
}

